package com.qk.common.enums;

public enum ParamEnum implements  Code {
    PARAM_ERROR("参数错误",1001),
    LOGIN_PASSWORD_ERROR("登录密码错误",1002),
    LOGIN_USER_NOT_EXIST("登录用户不存在",1003),
    LOGIN_USER_STATUS_ERROR("登录用户状态异常",1004),
    OPERATION_FAIL("您的操作失败，稍后重试",1005),
    OPERATE_ERROR("操作失败，稍后重试",1006),
    ACTIVITY_REFERENCE_ERROR("活动被引用无法删除", 10005),

    ;

    private final String msg;
    private final int code;
    ParamEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
